Skip to content

fix(agent): declare MiniMax native effort levels and no temperature for Pi and OpenCode - #298

Merged
SaladDay merged 1 commit into
MiniMax-AI:mainfrom
SaladDay:fix/m31-flash-native-caps
Oct 19, 2026
Merged

SaladDay merged 1 commit into
MiniMax-AI:mainfrom
SaladDay:fix/m31-flash-native-caps

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

mmx agent setup now declares the native MiniMax capabilities for Pi and OpenCode:

  • Pi MiniMax-M3.1-Flash: always thinks, effort low/medium/high/xhigh/max (off and minimal map to the lowest level instead of being sent; the API rejects disabled thinking), supportsTemperature: false.
  • Pi MiniMax-M3: supportsTemperature: false.
  • OpenCode: temperature: false for both models.

MiniMax-M3 and M3.1-Flash are open-weights models, so temperature is not a supported knob.

Tests: bun test (614 pass), tsc --noEmit. Checked with Pi 1.3.0 against the CN API: output_config.effort is sent natively per level, no temperature, images work.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@SaladDay
SaladDay merged commit 0819e47 into MiniMax-AI:main Oct 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant